package interact

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaInteractSensorGravityAPIResponse 重力感应 API返回值
// alibaba.interact.sensor.gravity
//
// native获取重力感应
type AlibabaInteractSensorGravityAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorGravityAPIResponseModel
}

// AlibabaInteractSensorGravityAPIResponseModel is 重力感应 成功返回结果
type AlibabaInteractSensorGravityAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_sensor_gravity_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 0表示成功呢
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}
